Quantitative clay typing and lithological evaluation of subsurface formations

ABSTRACT

Methods are disclosed which provide for quantifying and characterizing the mineral content of a formation as a function of depth. Elemental data derived from logging tools are input into an element-mineral transform operation, preferably a matrix which is constructed using multivariate statistical analysis on previously available data, to determine the quantity of at least one or more dominant minerals in the formation. From the mineral quantity information and the elemental log data, the formation minerals are further characterized. Information regarding the character and quantities of formation minerals is further used to obtain improved determinations of formation characteristics such as the cation exchange capacity and water saturation, and the grain density and formation porosity, as well as to obtain an increased understanding of the formation such as the depositional environment of the formation. A determination of formation characteristics and an increased understanding of the formation are both vital to production decisions concerning the formation.

This is a continuation of co-pending application Ser. No. 574,481, filed on Jan. 26, 1984, now abandoned.

The subject matter of this invention is related to subject matter disclosed in U.S. Pat. Application Ser. No. 574,753 (File No. 60.708) of Michael Herron and Jeffrey Schweitzer, filed of even date herewith and assigned to the same assignee of the present invention.

BACKGROUND OF THE INVENTION

The present invention relates generally to investigating earth formations traversed by a borehole. More particularly, the invention relates to methods for determining values for and for further characterizing the attributes of a formation surrounding a borehole by processing well logging data derived by lowering in the borehole one or more apparatus for investigating subsurface earth formations. The ability to assign values for (e.g. quantify) and further characterize formation attributes (e.g. formation minerals) permits a wide range of new and improved results to be obtained through logging, including a direct calculation of cation exchange capacity (CEC) and a corrected water saturation (Sw) determination, an oil API gravity log, an improved grain density and porosity determination, and an improved understanding of depositional environment, among others.

Quantitative knowledge of the lithological constituents present in a well as a function of depth would be valuable in assessing all aspects of exploration, evaluation, production, and completion. A complete shaly sands lithological description must go beyond simple descrimination between "sands" and"shales" and, for example, establish the quantity of clay materials in all layers including so-called "clean sands", identify and quantify the non-clay as well as clay minerals present, and identify subtle and pronounced changes in depositional or diagenetic facies by characterizing the formation minerals.

Until now, it has been generally accepted that there are no successful techniques available for taking elemental chemical data and deriving therefrom a quantitative mineralogical analysis of the lithology in question. Some procedures have been posed for gaining limited knowledge of lithology from chemical data, and different logging tools have been utilized to provide elemental data and indicators, but none of the previously known procedures or tools, alone, or together, have been capable of broadly and accurately permitting quantitative mineralogical analysis from logging. The known techniques and procedures generally only address the derivation of particular outputs such as water saturation, porosity, carbon/oxygen ratios, cation exchange capacities, general lithology classifications, etc.

Examples of borehole tools which provide and determine elemental chemical data and yields include natural gamma ray tools, induced gamma spectroscopy tools and high resolution spectroscopy tools. The natural gamma ray tools typically comprise a scintillator and pulse height analyzer which respond to and measure the gamma ray activity due to the decay in an earth formation of the naturally radioactive elements: thorium, uranium and potassium. In the past, the thorium plus potassium content has been used as an indication of clay or shale content. Uranium amounts have been suggested to indicate organic carbon sources and to provide information regarding secondary porosity detection and fractures. See e.g. U.S. Pat. No. 4,071,755 issued to Supernaw et al. As detailed by Lock, G. A. and Hoyer, W. A., "Natural Gamma-Ray Spectral Logging," The Log Analyst, September-October 1971, pp. 3-9, a thorium/uranium ratio may in some instances provide insight into the type of marine environment encountered. A potassium percentage determination may provide in some instances an indication of potash deposits or micaceous sands.

Induced gamma ray spectroscopy tools typically utilize a pulsed deuterium-tritium accelerator neutron source and sodium iodide detectors, which detect the gamma rays resulting from the interaction of the source neutrons with the formation elements. As disclosed in U.S. Pat. Nos. 3,521,064 issued Jul. 21, 1970 to Moran and U.S. Pat. No. 4,055,703 to Antkiw, the spectroscopy tools can be run either in an inelastic or an activation mode and provide elemental yield information on hydrogen, chlorine, silicon, calcium, iron, oxygen, carbon and sulfur. Using various ratios of the determined elements, indicators such as fluid salinity, porosity, shaliness, lithology and oxygen activation, among others, may be determined.

High resolution spectroscopy tools are based on the same principles as the induced gamma ray spectroscopy tools except that the accelerator neutron source may be replaced, if desired, by a chemical source, and the detectors utilized are high resolution (such as high-purity germanium) detectors. The high resolution (or enhanced resolution) spectroscopy tools (see Everett, R., Herron, M. and Pirie, G., "Log Responses and Core Evaluation Case Study Technique Field and Laboratory Procedures" SPWLA 24th Annual Logging Symposium, Jun. 27-30, 1983 pp. 23-24), may be used to determine both the amounts of the more abundant formation elements such as those determined by the induced gamma ray spectroscopy tools, and the amounts of less abundant elements such as aluminum, vanadium, magnesium, sodium, etc.

From the information gathered by the tools disclosed above, as well as other tools known in the art including electrical resistivity tools, sonic exploration tools, and other nuclear tools such as the gamma-gamma (formation density tool), or neutron-neutron (neutron porosity tool) tools, many attempts have been made to comprehensively evaluate and interpret lithology, including systems for two-mineral interpretation and shaly sands interpretation. Some systems such as SARABAND and CORIBAND (registered trademarks of Schlumberger Technology Corporation, described respectively in Poupon, A. et al., "Log Analysis in Formations with Complex Lithologies", J. Pet. Tech. (Aug. 1971) pp. 995-1005 and Poupon, A. et al. "Log Analysis of Sand-Shale Sequences--A Systematic Approach" J. Pet. Tech. (July, 1970)), correct porosity and resistivity logs for borehole and mudcake effects and then correct for the influence of clay, and/or shale content, and the effects of light hydrocarbons, etc. before computing porosity, matrix density, water saturation, movable hydrocarbon saturation, etc. Other techniques for shaly sand interpretation include the Waxman-Smits approach in which clay conductivity is used for a determination of water saturation. Clay conductivity is expressed in terms of cation exchange capacity (CEC), per unit volume, Qv. However, as shown in Burck, Lockhart, J. S., "A Review of Log and Core Methods for Determining Cation Exchange Capacity/Qv", Transactions of the Eighth European Formation Evaluation Symposium (London, England Mar. 14-15, 1983), unless constant minerology and salinity are assumed, conventional logging cannot provide a satisfactory determination of Qv. Moreover, the Waxman-Smits approach cannot be said to provide a comprehensive evaluation and interpretation of lithology.

Another approach to lithology evaluation has been to analyze formations through core analysis. Thus, core analysis has been used to determine CEC or Qv. A summary of the different core measurement techniques is provided in the aforementioned Burck article including both destructive (pulverizing) and non-destructive techniques. In addition, core analysis has been utilized in conjunction with logging to correlate radioactive elements to cation exchange capacity. In U.S. Pat. No. 4,263,509 issued on Apr. 21, 1981 to Fertl et al., it was suggested that the cation exchange capacity determined by the laboratory testing of a cored borehole could be correlated to a function of the natural gamma rays detected by logging the said borehole. Natural gamma ray logging operations in subsequent boreholes within the same geological region would then provide, in conjunction with the predetermined function, an in situ estimation of the depth related cation exchange capacity of the subsequent borehole. Such a technique is of limited utility, however, because cation exchange capacity is being correlated to elements which generally have little global relation to the clay minerals which dictate cation exchange capacity.

Core analysis has also been used by geochemists in the analysis of depositional environments. One analysis technique is called "factor analysis" and is extensively described in Joreskog, K. G., Klovan, J. E. and Reymont, R. A., Geological Factor Analysis, Elsevier Scientific Publishing Company (Amsterdam, the Netherlands 1976). Factor analysis is a technique which can be used in geochemistry to take multiple data sets of variables such as elemental concentrations and to correlate and anticorrelate the variables such that the subject rock or formation can be described with a good degree of certainty by a small number of independent factors which can be identified. Factor analysis has been used in the past to correlate elements to desired outputs such as aerosol sources and air pollution. Thus, the detection of an increase in the abundance of the element lead would indicate increased local usage of fossil fuels. In such a correlation, score analysis is utilized to determine how the magnitude of the factors changes from sample to sample.

Factor analysis was used in conjunction with regression analysis in Tardy, Yves, Element Partition Ratios in Some Sedimentary Environments, Sci. Geol. Bull. 28, 1, p. 59-95 (Strasbourg, 1975), to classify a formation and to solve for the distribution of trace elements among the classified fractions of a rock. Thus for example, in a particular core sample set, by factor analysis, forty variables were correlated such that four groups (rock fractions) were identified: detrital, sulfide, phosphate (apatite) and organic carbon. Through the use of regression analysis, the distribution in ppm of the trace elements among the four groups was determined. Also, by analyzing results from twenty-one other sets of shale and sandstone core samples, a study of the occurrence of trace elements in identified principal rock fractions was accomplished with the resulting conclusions that environmental conditions such as weathering, deposition and diagensis might be determinable from a determination of trace elements in the rock formation.

While the interpretation of logging results and of core data have provided many useful outputs to help describe and evaluate lithology, no techniques have been provided which can permit a comprehensive and accurate analysis of a formation by determining from initial log inputs the values for or quantities of the formation attributes such as formation minerals.

It is therefore an object of the invention to provide methods for taking log data as input and providing values for the attributes of the formation under investigation.

It is a further object of the invention to provide methods for taking log data as input and providing a mineralogical analysis including both a quantitative determination and a characterization of the minerals in the formation under investigation.

It is yet a further object of this invention to provide methods for taking log data as input and providing a quantitative determination and a characterization of the clays present in the formation under investigation.

Another object of the invention is to provide a shaly sands interpretation technique which accounts for clays present in the formation.

Yet other objects of this invention are to provide methods for the analysis of depositional environment and production risks as well as improved calculation of CEC and water saturation from the quantitative determination and characterization of minerals provided by this invention.

SUMMARY OF THE INVENTION

There is broadly provided, in accordance with the invention, methods for determining the values of formation attributes wherein a borehole in the formation is logged in order to determine indications of indexers, an indexer-to-attribute transform is constructed using multivariate statistical analysis on previously available data, and the log data is used as input into the indexer-to-attribute transform to provide a determination of values for the dominant attributes of the formation. The dominant attributes are determined by a multivariate statistical analysis on core and borehole data.

More particularly, methods are provided for determining the quantity and character of minerals in a formation wherein a borehole in the formation is logged in order to determine the concentration of elements in the formation, an element-mineral transform is constructed using multivariate statistical analysis on previously available data, and the log data is used as input into the element-mineral transform to provide a determination of the quantity of minerals in the formation. From the mineral quantity information and the log data, the formation minerals may be further characterized.

More particularly yet, a method for characterizing formation minerals from logs comprises identifying the elements and minerals likely to be found in the said formation, conducting a multivariate statistical factor analysis to determine the association between factors and the identified elements and minerals, identifying the said factors as dominant mineral components, constructing an element-mineral transform matrix between index elements and said identified mineral factors, logging the formation to determine the amounts of index elements therein, determining the quantities of said dominant minerals from said logs and said transform matrix, and characterizing said minerals from said mineral quantities and said element amounts. In a preferred mode of the invention, regression analysis is utilized to construct the element-mineral transform matrix.

According to the preferred embodiment, sidewall cores from the borehole under investigation or from a borehole expected to have similar characteristics are analyzed for elemental and mineral content using X-ray diffraction and multielemental chemical techniques. The results are input into a factor analysis computer program for determining factors and the associations between elements, minerals and the determined factors. From the computer outputs which graph minerals and elements on graphs having different factors as axes, factors may be identified as minerals which account for the major source of variance. Likewise, from the graphs, index elements which relate to the dominant minerals may be determined. Through multiple linear regression analysis or other equivalent techniques such as look-up charts, a matrix relating the index element concentrations to dominant mineral quantities may be established. By knowing which index elements will be required to analyze the formation minerals, a decision may be made on the types of logs required, e.g. natural gamma ray logs, induced gamma spectroscopy logs, etc. The tools capable of producing these logs are then placed downhole, and logging commences. The information which is gained from the investigation is processed to determine elemental concentrations. The elemental concentrations are then input into the element-mineral matrix to determine mineral quantities. The mineral quantities and the elemental concentrations may be further used to characterize the formation minerals.

Information regarding the character and quantities of formation minerals in turn may further be used to obtain improved determinations of formation characteristics as well as an increased understanding of the formation, both of which are vital to production decisions concerning the well and the entire oil field. Thus, for example, the quality of oil in the reservoir may be measured by the API gravity which is a function of the vanadium in the oil. Because vanadium is found not only in oil, but in shales, it is impossible to determine the API gravity of the oil in situ without first determining the vanadium content of the shales. By using the method invention summarized above, the quantities of various clay minerals containing vanadium are determined, and in turn through linear regression, the vanadium content of each of those minerals is determined. Any residual vanadium detected by the logging tool may then be attributed to the oil. From the determined vanadium content of the oil, in conjunction with other information such as oil saturation, formation porosity, and fluid density, the vanadium concentration in the oil and hence oil API may be determined.

Another example of improved determination of formation characteristics from the mineral quantity determination invention is the possibility of directly calculating cation exchange capacity and hence water saturation from logs. Since it may be assumed that only clay minerals adversely affect a water saturation determination by contributing to the CEC, a determination (using the method invention) of the different clay contents is helpful. By assuming that the rock CEC is a linear additive function of the content of each clay mineral, the formation CEC and its consequent impact on resistivity readings may be determined. Hence, an improved water saturation reading is available.

An understanding of the formation which may be vital to hydrocarbon production may also be gained by a knowledge of the formation mineral characteristics. Thus, for example, the presence of a high iron-illite would dictate the avoidance of acidization as a producing technique because an iron-oxide gel would be produced which could seal the formation. On the other hand, if the illite was characterized as a low-iron illite, acidization techniques could be utilized.

BRIEF DESCRIPTION OF THE DRAWINGS

Additional objects and features of the invention will become more apparent upon consideration of the following detailed description of the invention when taken in conjunction with the accompanying drawings wherein:

FIG. 1 is a flow diagram representing the invention for determining mineral quantities and further characterizing the formation minerals from logs.

FIG. 2 is a flow diagram representing a method for providing a refined porosity determination.

FIG. 3a is a flow diagram representing a method for determining the API gravity of oil in situ.

FIG. 3b is a cross plot of vanadium and aluminum concentrations used in one method for determining the API gravity of oil in situ.

FIGS. 4a, 4b and 4c are factor analysis cross plots wherein various formation elements, minerals, log responses and formation properties are plotted in relation to different factors.

FIG. 5 is a log depicting the absolute percentage of dominant minerals in an examined borehole.

FIG. 6 depicts a porosity log, a matrix density log, and a refined porosity log.

FIG. 7 is a cross-plot of the invention-derived CEC measurements with those of the laboratory-derived CEC measurements.

FIG. 8 represents a log depicting the total vanadium content, and the oil vanadium content as a function of borehole depth.

FIG. 9a through 9h are cross plots of laboratory-derived mineral quantity measurements versus log-derived mineral quantity measurements.

FIG. 9i is a cross plot of laboratory-derived fines measurements versus log-determined fines measurements.

DETAILED DESCRIPTION

As stated in the Background and Summary, this invention provides a determination of values for the dominant attributes of a formation by logging a borehole in the formation to determine indications of indexers, constructing an indexer-to-attribute transform using multivariate statistical analysis on previously available data, and by inputting the log data into the indexer-to-attribute transform to provide the determination of values for the dominant attributes. It should be understood at the outset that an "indexer" is something which relates to the formation or borehole environment and which correlates well with an attribute of the formation. While, for purposes of simplicity and best mode, chemical elements (index elements) will be the only indexers mentioned and used throughout this application, the term "indexer" shall not be limited to only chemical elements but shall include any data derived by a logging tool or otherwise (such as pressure, temperature, dip, permeability, resistivity, shear or compressional wave characteristics, etc.) provided it correlates with a formation attribute.

It should also be understood that a formation "attribute" is something which describes the formation under investigation. While for purposes of the best mode and simplicity, formation minerals will be the only attributes of the formation considered, the term "attribute" shall include other descriptors such as fractures, grain size, permeability, porosity, formation processes such as diagenesis and uranium decay, etc. In assessing an attribute, a value may be assigned to that attribute. When the attribute is a mineral, the "value" normally takes the form of a quantity determination.

Turning to FIG. 1, a method is provided in flow diagram format for taking logging data input from a borehole, and therefrom determining values for and further characterizing formation attributes as a function of borehole depth to provide valuable information for exploration, evaluation, production, and completion of the borehole and oil field. While FIG. 1 uses the terms "index elements" and "minerals", it should be understood as aforementioned that the invention is broader and that an index element is one type of indexer just as a mineral is one type of formation attribute.

In most oil fields, sidewall or whole cores from one well bore are available for analysis. In the preferred embodiment of this invention, the sidewall or whole cores are analyzed at 10 for elemental and mineralogical content (and if desired for other atributes such as resistivity, permeability, etc. and other possible indexers such as porosity, etc.) via standard laboratory techniques such as X-ray diffraction, fines (20 micron) separation, instrumental neutron activation analysis, cation exchange capacity determinations, etc. Each sidewall core represents a complete data set of variables which includes a list of minerals and elements (and other attributes and possible indexers) located therein and an absolute and/or relative concentration of the elements and minerals, etc. (Reference to indexers and attributes generally will be omitted hereinafter, elements and minerals being representative thereof respectively.) According to the preferred embodiments of the invention, the available information, preferably comprising numerous data sets, is input into computer 20 which performs an r-mode factor analysis to reveal common sources of correlation, if any, between the measured variables. If desired, the factor analysis may be carried out in a two-stage manner. Thus, at 25, the major factors which account for a large percentage of the variance among the elements are determined. Associations between the elements and factors are determined at 30, and factor cross-plots as seen in FIGS. 4a, 4b, and 4c are output by the computer. The chosen factors may then be identified at 40 as discussed hereinafter. As a check on the factor analysis results, the factor determination may be reviewed by determining at 25 the major factors which account for a large percentage of the variance among the elements and the minerals. Association between the elements, minerals and factors is thus accomplished at 35, and another set of factors is identified at 45. The factors identified at 40 are then compared at 50 to those identified at 45. If they are identical, the determined factors are confirmed with certainty. If the comparison at 50 yields different factor identifications, those identified at 45 are utilized, and it is assumed that bad data from geochemically anomalous zones such as lignitic zones have thereby been screened. The factors, as discussed hereinafter, should preferably be chosen to be minerals to permit mineral quantification.

From the associations accomplished by the computer at 30 and 35, and the final factor determination at 50, index elements are chosen at 55 which can be used to establish a quantitative relationship between the elements and dominant mineral factors. According to the preferred embodiment of the invention, the dominant factors and indexing elements are chosen in the following manner. From the sidewall core analysis at 10, a knowledge is gained of the important minerals in the formation. Because it is desirable to be able to quantify and characterize the minerals in the formation, the minerals should be related to the factors. Thus, it is possible that a dominant mineral will be located close to a factor axis on a cross-plot and will correlate well to the factor (as kaolinite in FIG. 4a may be seen to lie near the Factor 1 axis with a 0.9 correlation). In that ideal case, the factor can be described in terms of the single dominant mineral e.g. "kaolinitic", and a single element located near the factor axis or near the mineral and indicating good correlation with the mineral factor may be used to index the mineral. If the mineral is split among two factors, two elements are needed to index the mineral. One chosen index element should be located near one factor axis, while the second should be located near the other factor axis. In the unlikely event that a single element correlates extremely well with that particular mineral and no other mineral (i.e. the element is located adjacent the mineral in all factor space), two indexing elements are not needed and the single well-correlating indexing element may be used.

Thus, the core data analyzed at 10 is utilized in conjunction with the mineral factors and indexing elements at 60 to provide an element-mineral transform matrix

    [M]=[A].sup.-1.E                                           (1)

which transforms the concentration of the index elements into the weight percentage of the dominant factor minerals. [M] is the column matrix of mineral abundancies. [E] is the column matrix of elemental concentrations in each sample. [A]⁻¹ is the inverse of the end member composition matrix which is preferably determined through a multiple linear regression of the concentrations of index elements (chosen at 55) in conjunction with the factor mineral weight percentages gained from the sidewall or whole core analysis at 10.

While the invention has been described as using an element-mineral transform matrix, those skilled in the art will recognize that the invention simply requires a transform. Thus, simultaneous equations may be used in lieu of a matrix, or, if desired, transforms for non-linear equations may be used. Likewise, while factor analysis is used as the preferred technique, other multivariate statistical techniques may be used. Those skilled in the art will also appreciate that the tasks performed by a computer may vary greatly due to evolving artificial intelligence techniques. Thus, a computer may not be used at all, may be used for calculation only, or may be used for "decision-making" as well as for calculation.

Once the element-mineral transform matrix (operation) is in place, the sidewall-cored well, or other wells, especially those expected to have similar geological characteristics to the sidewall-cored well, e.g. in close proximity thereto, may be extensively investigated. First, a decision must be made at 65 as to which logs are necessary. The decision regarding which tools to run downhole depends upon both (a) which elements have been chosen as indexing elements such that elemental concentrations of them are required as input into the element-mineral matrix; and (b) what final results or indicators are desired, e.g. oil API, grain density etc. Thus, for example, if the indexing elements include potassium, iron, and sulfur, and the final results desired include an oil API log as well as a coal determination log, a natural gamma radiation tool together with an induced gamma spectroscopy tool and an enhanced resolution gamma spectroscopy tool could provide logs of the required elements. Thus, the natural gamma radiation tool would provide the potassium concentrations, while the induced gamma spectroscopy tool could provide concentrations of iron, sulfur and silicon, the last being required as discussed hereinafter for the coal determination. Finally, the enhanced resolution spectroscopy tool would provide a log of vanadium concentration required for an oil API log.

After determining which logs will be required to provide a quantification and further characterization of the minerals as well as the desired output results, the logs are run at 70 and elemental concentrations are determined by preprocessing the log information. Thus, the output spectrum acquired by an induced gamma spectroscopy tool can be processed according to a least squares fitting technique to provide an iron yield according to the teachings of the commonly-owned U.S. Pat. No. 3,521,064 issued Jul. 21, 1970 to Moran. Then, to take the iron yield from the gamma spectroscopy tool and output an iron concentration, the iron yield is divided by the iron plus calcium plus silicon yields and that ratio is used to cross-plot core and log data from which a yield-to-concentration algorithm may be developed for iron. A similar algorithm is developed for the aluminum yields by plotting the log information against the core data for aluminum. To determine potassium concentrations, the natural gamma ray spectrum may be Kalman filtered and divided into five contiguous windows for processing according to the teaching of commonly-owned U.S. Pat. No. 3,976,878 issued Aug. 24, 1976 to P. Chevalier et al. and an article by Ruckebusch, G. "An Application of Kalman Filtering in Nuclear Well Logging," IEEE International Conference in Acoustics, Speach & Signal Processing, Vol 3, 1982.

For each investigated station in the borehole (or along the entire length thereof), the elemental concentrations determined by the processing of the tool data gathered are input into the determined element-mineral transform matrix, with the resulting determination at 75 of the quantitative amounts of the dominant minerals at each depth. (If indexers or attributes other than elements and minerals are used, the values or indications assigned to those indexers and attributes are input into an indexer-to-attribute transform which need not be linear, with a resulting value determination of the attributes.) Additionally, by using the logs to determine concentrations of whatever elements may be observed, the determined elemental concentration information may be combined with the mineral quantity information to characterize the minerals at 80. Thus, while a formation may be said to contain certain amounts of kaolinite and illite, it may be desirable to determine whether or not the located kaolinites or illites are typical. For example, non-marine illite typically contains a magnesium concentration of 0.7%. If the illite can be characterized as having a magnesium concentration of 2.1%, a marine depositional environment is strongly indicated.

Mineral quantification 78 and characterization 80 may be used as feedback to help in the construction of the element-mineral transform matrix. Thus, for example, if, due to the mineral characterization and processing of the derived information, it is believed that a mineral such as illite should be divided into a marine and a non-marine illite, the element-mineral transform matrix must be expanded to include an additional mineral and indexing element.

While mineral quantification and characterization are desirable goals in themselves, the present invention permits a broad range of new and improved determinations to be made on the investigated formation using mineral quantification and/or characterization as a starting point. As depicted in FIG. 1 by the dotted line around 75 and 80, and discussed above, an improved depositional environmental analysis 82, a production risk analysis 84, a coal determination 86, grain density measurements and refined porosity indications 88, direct CEC calculations and corrected water saturation readings 90, and a vanadium content and oil API log 92 can all use the mineral quantification and/or characterization method invention as a starting point. Indeed, those skilled in the art will recognize that other new and/or improved results will be made possible due to the method invention disclosed above.

A depositional environment analysis 82 is important as it provides one key in determining where next to drill in the oil field. The quantities and character of the minerals determined to be present adjacent a borehole provides the necessary information for such an analysis. (See Reineck, H. E. and Singh, I. B.; Depositional Sedimentary Environments, 2 ed., Springer-Verlag (New York 1980), for an in-depth discussion on depositional environment analysis). Thus, as discussed above, the character of the illite would provide information regarding marine environments. Similarly, an increase in the kaolinite/illite ratio would suggest a more alluvial depositional environment.

Mineral characterization 80 is also important in an analysis of production risks 84. Production techniques are well described in Millhone, R. S., "Completion Fluids for Maximum Productivity--State of the Art"; Jour. Pet. Tech., pp. 31-39 (1983). Determining which production technique is suitable or optimal for a particular well might depend on the minerals of the formation. Thus, the existence of high iron clays suggests that production may not be accomplished through acidization techniques. On the other hand, the presence of smectite in the formation would rule out other production techniques which may cause smectite to swell and clog the formation pores, rendering the well totally useless and unsalvageable.

One common dominant mineral in earth formations is quartz (SiO₂). In quantifying the formation minerals, quartz will often be a factor mineral. However, in many circumstances, quartz may be assumed to be the residual when all other major minerals are determined. In that case, quartz will not be a factor mineral present in the element-mineral matrix, but its quantity is determined as unity minus the sum of other derived minerals. In comparing this quartz residual to a silicon log such as from the induced gamma spectroscopy tool, the quartz residual will closely follow the silicon log except in a coal zone (or other zone containing low concentrations of silicon and all index elements). In this manner, coal zones will be evidenced at 86 by a divergence of the two logs. As an alternative, the element-mineral transform matrix can be expanded to include index elements for quartz and/or coal outputs.

Turning to FIG. 2, a method for providing a refined porosity determination is seen in flow diagram form. Thus, at 75 and 80, in accord with the method invention for quantifying and characterizing minerals from log information as described above, the quantities of minerals are determined and characterized along the length of the borehole. From a knowledge of the mineral volumes and types, and using a look-up chart 105 or linear regression techniques on core data to determine the grain density of the particular types of minerals found in the formation, a summation at 110 of density times percentage for all the minerals found at a particular formation depth d will provide a grain or matrix density for the formation at that depth according to ##EQU1## where ρ_(m) is the density and q_(m) is the relative quantity of the m'th mineral. Thus, a log of the matrix density will be available. A determination of the formation bulk density is accomplished at 115 by any suitable means such as an electron density tool, many of which are known in the art. (See, e.g. commonly-owned U.S. Pat. Nos. 3,864,569 to Tittman and 4,048,495 to Ellis.) A refined porosity log may then be determined at 120 according to the equation ##EQU2## where φ is the porosity, ρ_(b) is the bulk density determined at 115, and ρ_(matrix) is the grain or matrix density determined at 110. The fluid density, ρ_(fluid), is taken to equal unity in the absence of other information. Thus by providing a quantification and characterization of the minerals in the formation over the length of the borehole, an improved matrix density log and hence and improved porosity log results.

In a similar technique to the density summing method described above for an improved porosity determination, the cation exchange capacity and hence the water saturation of the formation along the depth of the borehole may be determined at 90. To derive a whole rock CEC, it is assumed that only clay minerals contribute to the rock CEC, that each clay has a defined CEC over the entire profile, and that the whole rock CEC is a linear additive function of the clay mineral content. Thus, the quantity and character of the clay minerals in the formation are determined at 75 and 80 according to the method invention as described above. From a knowledge of the clay types and amounts, and using either a look-up chart or information gained from the analysis of core data, a CEC value is assigned to each clay type, and a whole rock CEC is determined by taking a summation of the CEC value for each clay type found at the formation depth times the clay type percentage for each of the clays. From the CEC determination, the CEC per unit pore volume, or Q_(v), may be determined according to the well-known equation ##EQU3## where the matrix density and porosity at each borehole depth may be gained from the grain density and refined porosity determination described above, or by other means, if desired. In turn, a log of the water saturation of the formation over borehole depth may be gained from either or both Q_(v) and the CEC according to the equations well-known in the art such as the Waxman-Smits equation or other equations described in Burck, Lockhart, J. S, "A Review of Log and Core Methods for Determining Cation Exchange Capacity /Q_(v) " Transactions of the Eighth European Formation Evaluation Symposium (London, England, Mar. 14-15, 1983). Thus, by providing a quantification and characterization of the minerals in the formation over the length of the borehole, a direct determination of CEC and Q_(v), as well as a determination of water saturation at different borehole depths, can be made from logs.

Logs of the matrix density and water saturation derived from the methods disclosed above can be used to help derive a log of the API gravity of oil in a formation. The equation

    log V.sub.oil(ppm) =C-(API/A)                              (5)

relating oil vanadium concentration to API gravity has long been known in the art, where C and A are constants particular to given oilfields. One of the difficulties in deriving an API log, however, has been separating the determined vanadium content into vanadium content of the formation and vanadium content of the oil.

Turning to FIGS. 1 and 3a, and using the method invention for quantifying and further characterizing the minerals in the formation found over the length of the borehole at 75 and 80, as described above, the vanadium content of the rock minerals preferably is determined as follows: First, the minerals of the formation are characterized at 80 using factor analysis to determine which minerals include vanadium. Where it is determined, for example, that illite and kaolinite account for the vanadium content of the matrix, a multiple regression analysis is carried out using the core data provided to determine the relative weights to be given to each clay. Thus, the vanadium content in the matrix may be expressed at 125 by a simple linear function:

    V.sub.rock(ppm) =a(wt % kaolinite)+b(wt % illite)          (6)

where the values of a and b given by multiple linear regression might be 80 ppm and 250 ppm respectively. Thus, in utilizing the equation at 125, the mineral quantities of illite and kaolinite determined at 75 are transformed into a vanadium content of the rock matrix. The total vanadium content in the formation (which equals vanadium in the matrix plus vanadium in the oil) may be measured at 130 by an enhanced resolution gamma spectroscopy tool. The difference between the total vanadium and the rock vanadium is then attributed to the oil.

The oil vanadium content (V_(oil) =V_(TOT) -V_(rock)) may also be derived in a simpler, though less accurate manner. If an assumption is made that the aluminum content of a formation is characteristic of the amount of clays in a formation, and a cross-plot, as seen in FIG. 3b is set up for plotting the aluminum versus vanadium content of the formation, from data derived from enhanced resolution tool readings, the derived points may be said to lie between along two lines; a line 131 parallel and adjacent to the vanadium axis and a line 132 with a non-zero slope. Such a cross-plot indicates that the oil vanadium content may be determined as follows: The determined aluminum and vanadium contents from enhanced resolution tool readings are placed on the cross-plot as shown by points 133, 134 and 135. If the point, such as point 133 lies on the non-zero slope line, the vanadium is assumed to be totally from the matrix. If the point, such as 134 lies adjacent the vanadium axis, it is assumed that the vanadium content is from the oil. If the point falls between the lines, as does point 135, a horizontal line 136 is drawn to line 132 and two vertical lines are drawn; line 137 extending from point 135 to the vanadium axis, and line 138 from the intersection of lines 136 and 132 to the vanadium axis. The oil vanadium content may then be determined by subtracting the vanadium intercept of line 138 (V_(TOT)) from the vanadium intercept of line 137 (V_(rock)).

While the cross-plot technique for finding the oil vanadium content is simpler than the linear regression technique disclosed, it is less accurate as it is relying on only one element (aluminum) to provide information about the rock matrix. Thus, it is preferable to use additional elements such as found in the constructed element-mineral transform matrix to provide the information.

To convert the excess (non-matrix) vanadium derived by either method to an actual vanadium concentration (in ppm) of the oil, it is preferable to have accurate estimates of the formation porosity, matrix density, and oil saturation. Of course, the porosity (φ) and the matrix or bulk density ρ_(b), as well as fluid density ρ_(f), may be determined according to the methods provided at 88 or by other techniques known in the art. Likewise, oil saturation (S_(o)) may be derived from a determination of water saturation (from the CEC log) at 92 or from other well-known techniques such as a carbon/oxygen ratio from the gamma spectroscopy tool. Thus, assuming fluid densities equal to unity, the vanadium oil concentration is calculated at 135 by ##EQU4## Of course, if the oil density (ρ_(o)) is known, the bulk density term (ρ_(b)) of relationship (7) should be replaced by ρb/ρo.

The API gravity is then easily derived at 140 according to the well-known equation 5 above, where C and A are constants known for different oil reservoirs.

In sum, it is evident that an in situ determination of API gravity of the oil in a formation may be accomplished directly from logging data by following the method invention for determining mineral quantities and characterizing the minerals in the formation, by determining the vanadium content of the rock matrix through regression analysis or equivalent techniques, by subtracting the matrix vanadium content from the total vanadium detected to arrive at the oil vanadium content, by determining the oil vanadium concentration in parts per million from the oil vanadium content through use of other formation parameters, and by converting the oil vanadium concentration into API gravity. Alternatively, an in situ determination of API gravity of the oil in a formation may be accomplished directly from data, by plotting vanadium and aluminum concentrations on a cross-plot, by subtracting the matrix vanadium content from the total vanadium content by determining the oil vanadium concentration from the oil vanadium content through the use of other formation parameters, and by converting oil vanadium concentration into API gravity.

Referring back to FIG. 1, the method invention for quantifying and characterizing formation minerals was practiced on two boreholes. Thus, one hundred twenty-four sidewall core samples were gathered from a first borehole. Instrumental neutron activation analysis was used on the uncleaned sidewall sample for the purpose of determining elemental content. The hydrocarbons from the samples were then removed by a sequential toluene-acetone-chloroform extraction technique in a Soxhlet apparatus. Following hydrocarbon removal, the samples were studied using binocular and petrographic microscopes, X-ray diffraction analysis, scanning electron microscopy, fines separation and cation exchange capacity techniques. Additionally, a natural gamma ray log, induced gamma spectroscopy logs (both capture and inelastic capture modes), and an enhanced resolution gamma spectroscopy log were taken at depths identical to the sidewall core depths. These logs were used to help determine the factors for the element-mineral transform matrix, which in FIG. 1, in essence, amounts to a feedback from 70 to 25. Such feedback is not necessary for practicing the invention. It should be noted, however, that the use of the logs 70 as input into 25 for determining factors could be considered sufficient to practice the invention if enough elements are detectable, and if assumptions are made concerning which minerals are likely to be encountered. It is also of note that where additional formation attribute and/or possible indexers are desired as input for factor analysis, the feedback from 70 to 20 is desirable. In this manner, pressure, temperature, dip, resistivity, etc. may be logged and used in an indexer-to-attribute transform.

From the sidewall core data and the logs, thirty-three variables for each borehole depth were obtained: four minerals, two formation characteristics (CEC and % fines) and twenty-two elements (five on which there were two readings due to a natural gamma ray (N) or enhanced resolution tool (ERT) log determination and a core determination).

The data sets of thirty-three variables were input into a computer which was programmed to perform a factor analysis. Samples very near lignitic zones were excluded since they were believed to be geochemically anomalous. The remaining information was subjected to an r-mode factor analysis, and the computer determined that four factors could account for approximately 85% of the variance in the samples. As output, the computer determined associations between the elements, minerals, formation characteristics and the factors as seen in FIGS. 4a-c.

FIG. 4a shows that Factors 1 and 2 accounted for most of the variability of elements commonly associated with shales, including Th, Al, Rare Earth Elements, Sc, Na, Cr, Fe, Mg, V and K. Presence of shales was also indicated in shaly sand sequences by high cation exchange capacities and a high percentage of fine-grained material as well as by an absence (anti-correlation) of Si and quartz. Thus, Factors 1 and 2 were identified as discriminating effectively between sands and shales.

Factors 1 and 2 were further characterized by more closely inspecting the variables associated with each. By inspecting FIG. 4a, Factor 1 may be seen to have high loadings of (i.e., a high degree of association with) kaolinite, the elements Al, Th, U, and the rare earths. X-ray diffraction analysis (XRD) confirms this observation. Thus, Factor 1 could be described as "kaolinitic". Factor 2, in contrast, may be seen, and may be confirmed by XRD to have higher loadings of illite and the elements Fe, V, Mg, K, Cr, and Na. These observations indicated a dominantly illitic character for Factor 2. The CEC and wt. % fines variables were somewhat intermediately loaded on both Factors, which was consistent with the fact that these characteristics related more to total clay minerals rather than to an individual species.

FIG. 4b shows factor matrix elements for Factor 1 plotted against those for Factor 3. Most of the variables relating to Factor 1 did not correlate well with Factor 3. The major variables associated with Factor 3 were Hf, Ti, and Mn, with a small degree of correlation with Dy, U, and K-Feldspar. Titanium, hafnium and zirconium are geochemically quite similar and characteristically are resistates or hydrolyzates. Hafnium is universally connected with zirconium in nature, the Zr/Hf ratio being a narrow 35-60 for a wide variety of rock types. By far the most common source of Hf and Zr is the resistive mineral zircon. Two samples with large Hf (and Zr) concentrations also showed a large relative enrichment in the heavier rare earths. This was consistent with the relative distribution coefficients in zircon favoring the smaller, heavier rare earths. Therefore, Factor 3 was identified as resistive and indicates intense weathering which has removed less stable elements and preferentially concentrated zircons.

FIG. 4c shows factor matrix elements for Factors 1 and 4. Factor 4 showed high loadings of Feldspar, and the elements K and Ba, as is visible from FIG. 4c and as was confirmed by XRD. Feldspars determined by XRD may be of the alkali or potassic varieties. The covariance between the XRD feldspar and the element K therefore strongly suggested that the mineral was potassium feldspar. Barium is not a structural component of feldspar, but is a ubiquitous impurity in potassium feldspar. Therefore, Factor 4 was identified as relating to potassium feldspar.

In sum, the major sources of variance in the data were identified at step 45 as being located in four factors which were identified as: kaolinite and inversely related to quartz; illite and inversely related to quartz, resistive minerals (typically containing zircon); and potassium feldspar. As no association was run between just the elements and factors, no preliminary factors were determined at 40, and thus, the factors identified at 45 were used as the final factors at step 50.

Having established that the variance of most of the variables could be simply related to identifiable minerals, step 55 required that index elements be found for each dominant mineral. As the quantity of resistive minerals was found to be insignificant, they were not considered dominant minerals. By inspecting the associations in FIGS. 4a, 4b and 4c, it was seen that the dominant mineral components, quartz, feldspar, kaolinite and illite could be fairly well-characterized by only three index elements: aluminum, iron and potassium. This was due to the inherent anticorrelation between each of the clay minerals and quartz. The concentrations of these index elements in each sample were then transformed at step 75 into weight percent of each mineral by constructing according to step 60, an appropriate matrix whose elements were the concentration of each element in each mineral. Thus, using multiple linear regression on the elemental concentrations provided by the XRD measurements at step 10, the relationships between the dominant minerals and the indexing elements were determined as follows:

    ______________________________________                                                  Al         Fe     K                                                            (%)        (%)    (%)                                                 ______________________________________                                         Kaolinite  19.0         0.14   0.35                                            Illite     12.0         10.6   3.0                                             Feldspar   9.7          0.05   7.0                                             ______________________________________                                    

Thus, by determining the elemental concentration of aluminium, iron and potassium from logs, the dominant minerals in a formation adjacent the boreholes could be quantified. It should be appreciated by those skilled in the art that the above matrix is by way of example only for the particular investigated borehole, and that different minerals, index elements, or matrix percentages might be required depending upon the particular oil field circumstances. Moreover, those skilled in the art will also appreciate that the size of the matrix could be expanded or contracted in practicing the disclosed invention. Nevertheless, for the two investigated boreholes as well as for other boreholes in formations expected to have similar geological characteristics, the transform matrix stated above provides a way of determining dominant mineral quantities from elemental concentrations available from logs.

The identities of the indexing elements determined by the identifying step 55 dictated which tools should be run down-hole in the boreholes to gather information. Thus, it was determined at step 65 that a natural gamma ray tool could provide a potassium concentration, an induced gamma ray spectroscopy tool, the iron concentration, and an enhanced resolution spectroscopy tool, the aluminium concentration. In addition, because other end results were desired such as an oil API log, a direct CEC calculation and corrected water saturation reading, a grain density and refined porosity log, etc., it was decided to run additional tools such as a formation density tool which would provide a bulk density log, and a deep propagation tool which would provide a resistivity log.

Using the elemental concentrations determined by the logging tools and known data processing techniques, and the element-mineral matrix previously derived, the quantities of the dominant minerals in the formation were determined. FIG. 5 depicts a log of the dominant mineral concentrations by well depth as generated and quantified by the instant invention. Thus, at depth 1580, a shale zone is depicted with 48% kaolinite, 25% illite, 0% feldspar, the remaining 27% assumed to be quartz.

From the mineral quantities and elemental concentrations, the minerals were further characterized in accord with step 80. For example, kaolinite and illite were further characterized according to their vanadium content as described hereinafter. Also, the kaolinite and feldspar elemental compositions were determined to be similar to look-up values. However, the illite composition appeared to be substantially different than the "average illite" (given by Weaver, C. E. and Pollard, L. D., Developments in Sedimentology; Elsevier Scientific Publishing Company, (New York, 1975)). In fact, the illite appeared to be somewhat similar to an atypical illite from weathered biotite which has concentrations of K=2.7% and Fe=9.0% and often indicates a mixed layer component. In support of the conclusion that a mixed layer component might be present, it is of note that Weaver and Pollard have noted the likelihood of the presence of impurities and poorly characterized mixed-layer components in "pure" illites. Moreover, the X-ray diffraction patterns for the "illite" analyzed in the sidewall core samples also had revealed some mixed-layering with a swelling clay, presumably smectite. Finally, it was seen that the "illitic factor" in the r-mode factor analysis was heavily loaded with divalent cations Fe, Mg, Ca which may represent a mixed layer component. Thus, the minerals were characterized as generally being of typical composition, with the exception of the illite, which was of atypical composition and possibly represented a mixed-layer component.

From the mineral quantification and characterization, a depositional environmental analysis, and a production risk analysis, as well as a grain density and refined porosity log, a CEC and corrected water saturation log, and a vanadium and oil API log were accomplished.

Turning to FIG. 5, the percentages of dominant minerals in an investigated formation are seen. The mineral percentages were determined according to the invention as described above. From the mineral quantification and characterizations, a depositional environmental analysis was accomplished. It is known to those skilled in the art that in a deltaic system, the dominant clay type frequently changes from kaolinite in the alluvial environment to illite in the more marine environment. As seen in FIG. 5, the lower depths (1600 to 1750) show a much higher kaolinite to illite ratio than the 1530 to 1600 depth interval. Thus, it was apparent from the derived clay types and abundancies in the investigated borehole that a regressive deltaic environment was indicated, with more alluvial, kaolinitic sediments being overlain by more marine, illitic sediments.

A production risk assessment was also made viable by the mineral quantifications and characterizations. In the sand zones (high quartz) of the investigated borehole, a small (˜5%) percentage of kaolinite was present. This amount and type of clay represented a very low risk for most production techniques. The major risk involved was the possibility that the kaolinite could be displaced from its physical location in the formation by rapidly flowing fluids, thereby causing the kaolinite to be lodged in pore throats, with a resultant reduction of the permeability of the formation. Such rapid fluid flow was therefore to be avoided during hydrocarbon production.

A second risk in the hydrocarbon production concerned the two uppermost sand bodies (1520 to 1530 and 1550 to 1570) in the formation which may be seen in FIG. 5 to be bounded by iron-rich illitic clays. An acidizing treatment of these sand zones, which would be utilized to dissolve the clays, would very likely release iron ions from these bounding clay bodies. This iron would then precipitate as an iron oxide gel, thereby reducing the permeability of the reservoir sands. Such an acidization treatment therefore was to be avoided during production of the uppermost sand bodies.

The steps shown in FIG. 2 were then utilized to produce a refined porosity log. The grain densities of the different minerals were determined from whole core data. After mineral quantities were calculated at 75 according to the method invention, the matrix density was determined by the equation: ##EQU5## where ρ_(m) is the grain density of the m'th mineral and w_(m) is the percentage of the m'th mineral in the formation at depth d. The electron density which is convertible to bulk density ρ_(b) was determined by the litho-density tool (see commonly owned U.S. Pat. No. 4,048,495 to Ellis) over the depth of the borehole. Porosity was then calculated as a log according to ##EQU6## ρ_(fluid) taken as equalling unity. The improved porosity log is seen in FIG. 6, with 160 indicating the porosity log without improvement, and 162 indicating a matrix density log determined according to equation 8 which is used to provide an improved porosity determination log 165 according to equation 9.

In a manner similar to the determination of matrix density, a CEC log of the formation was derived according to ##EQU7## where CEC_(m) is the cation exchange capacity of the m'th clay mineral, and q_(m),d is the quantity of the m'th clay mineral at depth d. The measured CEC was then converted into a log of water saturation.

As a check on the ability of the disclosed method invention to convert elemental log information into a CEC log via the derived element-mineral matrix and resulting mineral quantification, the logging-derived CEC measurement was compared against the laboratory measured CEC of sidewall core for many depth points along the sidewall cored well. Such a comparison is seen in FIG. 7. While the correlation of 0.87 is good, and the absolute CEC differences for each depth are not great, some discrepencies are evident. It is likely that the discrepencies arise from depth shift and from error in the laboratory measurements due to the difficulty in obtaining reproducible laboratory results because of laboratory effectiveness problems in cation replacement, removal of excess cation, as well as possible analytical interferences. Another cause of the scatter arises from the fact that the formation illite was shown to have varying degrees of mixed layering resulting in a non-unique CEC for illite over depth. Nevertheless, as seen in FIG. 7, the agreement is relatively good.

The water saturation and refined porosity logs as so determined were then used to help prepare an oil API gravity log according to the method set forth in FIG. 3. A log of the total vanadium in the formation (formation=matrix+fluid) was made from the information gained by the enchanced resolution gamma spectroscopy tool. As may be seen from FIGS. 4a-c, a substantial portion of the vanadium concentration variance could be associated with clay minerals, particularly with the illitic factor. Thus, to account for the vanadium content of the matrix, it was assumed that the vanadium content was a simple linear function of the kaolinite and illite fractions in the formation. Using multiple regression analysis, variables a and b of step 125 were assigned values of 80 ppm and 250 ppm respectively. From a determination from the method invention of the quantities of kaolinite and illite over depth, a log of the vanadium content in the rock matrix was obtained. The vanadium content of the matrix were then subtracted from the total vanadium content to arrive at the residual vanadium which could be attributed to the hydrocarbons present. Using the bulk density and porosity of the formation at each depth as previously derived, and the oil saturation of the formation at each depth, as derivable from the water saturation log previously provided, the concentration in parts per million of vanadium in the oil was determined according to equation 7 herein (step 135 of FIG. 3). The oil API gravity was then determined according to step 140 of FIG. 3.

FIG. 8 shows a log 180 of the total vanadium detected from core analysis, and a log 185 of the determined oil vanadium concentrations. The vanadium (oil ppm) results are in good agreement with values reported for nearby wells and for the single oil sample recovered by a fluid sampler tool. The fluid sampler tool sample, from a depth of 1677 feet, was analyzed and had a vanadium concentration of 390 ppm. Concentrations of 400-410 ppm had been reported in nearby wells. These values are essentially equivalent to the vanadium (oil ppm) computed and indicate the general soundness of the technique.

In sum, then, an element-mineral transform matrix was set up using factor analysis and multiple linear regression techniques on sidewall core data from one borehole. In order to determine mineral quantities and to characterize the dominant minerals of the formation adjacent the borehole, different tools were run in an investigated well to provide elemental concentration information. The elemental information provided by the logs was then input into the element-mineral transform matrix, and mineral quantities were determined. The minerals were further characterized through multiple regression analysis techniques. From the mineral quantification and characterization, a depositional environmental analysis and production risk analysis were performed. Using the mineral quantities and characteristics, an electron density log, and a look-up chart for grain densities of particular minerals, matrix density and refined porosity logs were made. From the mineral quantities and characteristics, and a matrix density log, CEC and corrected water saturation logs were made. From the mineral quantities and characteristics, a vanadium enhanced resolution spectroscopy log, and from porosity and water saturation logs, an oil API log was made. Finally, from the mineral quantification and a silicon log, coal zones were detected.

By using the element-mineral transform matrix from the first borehole, the quantities of dominant minerals in a borehole located in proximity thereto were determined by logging and then inputting the elemental concentration data into the said matrix. Mineral quantities were determined and the minerals were further characterized. From the mineral quantification and characterization, an oil API log, a depositional environmental analysis and other new and improved results were accomplished.

The test of the suitability of the invention was how well the mineral weight percentages (as determined in the lab) could be reproduced from the log concentration determined for the index elements potassium, iron and aluminium for the investigated wells. FIGS. 9a-c show mineral weights percentages measured by X-ray diffraction crossplotted against those derived by the instant invention for the borehole from which the element-mineral matrix was derived. The figures clearly show good agreement, except for very low concentrations which may simply reflect the large relative error in X-ray diffraction techniques at those levels. FIGS. 9d-f show, for the second borehole, mineral weight percentages measured by X-ray diffraction crossplotted against those derived by the instant invention using the element-mineral transform matrix previously derived from the first borehole. While good agreement is found, clearly there is more scatter, especially for the illite as seen in FIG. 9e. Some of this scatter might be explained by depth shift and the mixed layering nature of the illite. However, another factor which might account for more error was the fact that the X-ray diffraction analysis technique was changed and was perhaps less accurate.

As a further test of the validity of the invention, FIGS. 9g and 9h show the x-ray diffraction measurements of quartz plotted against the residual from the geochemical model, i.e., unity minus the sum of derived kaolinite, illite, and feldspar percentages for the two boreholes. Again, there is good agreement; not only are very shaly sections well separated from the high quartz sand zones, but less shaly sands are also well quantified in quartz.

Finally, it may be expected that a correlation would exist between the sum of the derived kaolinite plus illite fractions and the measured fines fraction because the fines (<20 micron) fraction of the formation is dominated by the clay minerals, as indeed are most sedimentary sequences. However, this estimation should be expected to underestimate the measured fines since it does not include fine quartz and other minerals which may be present. FIG. 9i is a cross-plot of the measured versus the derived fines fraction and shows that the instant invention gives an excellent characterization of the shale volume fines present. The fines fraction as derived by the invention provides an excellent measurement of the shale volume, the well logging parameter V_(sh). The correlation coefficient between measured and derived percent fines is 0.98. Moreover, as aforementioned, the CEC measurements also correlated well.

Thus, the method invention proved to be capable of producing an accurate characterization and quantitative description of the major lithological components of the formation.

There has been described and illustrated herein, methods in accordance with the present invention for determining from log data the quantities of minerals (values of attributes) in a formation and the characteristics of those minerals, as well as methods for further using the method inventions to derive new and improved results. However, while particular embodiments of the present invention have been utilized and described, it is intended that the invention be broad in scope and that the specification be read likewise. Thus, while the terms "logs" and "logging" are utilized, they are not intended to be limiting in any manner. The terms are intended to encompass the gathering of data at a single depth station, multiple stations or during continuous movement of the tool, and to include all data processing and data transfer techniques known in the borehole logging arts. Also, while much of the invention has been described as utilizing a "transform matrix", other techniques such as simultaneous equations may be utilized in lieu of the matrix to accomplish the stated objectives. Indeed, the utilized transform need not be restricted to linear systems. Finally, it is to be stressed that it is not intended that the invention be limited to determining mineral quantities. Minerals, while important attributes of a formation, are not the only attributes. Likewise, elements need not be the only factor analysis inputs nor the only indexers of attributes, even though they may be the most important. Therefore, it will be apparent to those skilled in the art that other changes and modifications may be made to the invention as described in the specification without departing from the spirit and scope of the invention as so claimed. 

I claim:
 1. A method for investigating, through logging, an earth formation transversed by a borehole comprising:(a) determining, by logging the said borehole, the indications of at least two indexers; (b) determining a value for at least two dominant attributes, including at least one mineral, of said formation by operating with an indexer-to-attribute transform on said at least two indexers, wherein said dominant attributes are identified by a multivariate statistical analysis on data obtained from a formation; and (c) generating a tangible record of said values of said dominant attributes.
 2. A method according to claim 1 wherein:said multivariate statistical analysis is factor analysis; said dominant attributes are each identified as being related to at least one factor; and said indexers are each chosen to correlate well with said at least one factor.
 3. A method according to claim 2 wherein:said indexer-to-attribute transform is an element-to-mineral transform matrix; and said indexer-to-attribute transform matrix is constructed using multivariate statistical analysis which relates said dominant attributes to said indexers.
 4. A method according to claim 3 wherein:said multivariate statistical analysis used for constructing said indexer-to-attribute transform matrix is regression analysis.
 5. A method according to claim 2 wherein:said data obtained from a formation are gained at least partly from core samples of said borehole.
 6. A method according to claim 2 wherein:said data obtained from a formation are gained from a second borehole.
 7. A method for investigating, through logging, an earth formation traversed by a borehole comprising:(a) determining, by logging the said borehole, the concentrations of at least two index elements in said formation; (b) determining the quantity of at least two dominant minerals of said formation by operating with an element-mineral transform on said at least two elemental concentrations wherein said dominant minerals are identified by a multivariate statistical analysis on elemental and mineralogical data; and (c) generating a tangible record of said values of said dominant attributes.
 8. A method according to claim 7 wherein:said multivariate statistical analysis is factor analysis; said dominant minerals are each identified as being related to at least one factor; and said indexing elements are each chosen to correlate well with said factor.
 9. A method according to claim 8 wherein:said element-mineral transform is an element-mineral transform matrix; and said element-mineral transform is constructed using regression analysis and relates said dominant minerals to said indexing elements.
 10. A method according to claim 9 wherein:said elemental and mineralogical data are gained at least partly from core samples of said borehole.
 11. A method according to claim 9 wherein:said elemental and mineralogical data are gained from a second borehole.
 12. A method according to claim 9 wherein:said elemental data are provided by determining the concentrations of a plurality of elements in said formation, and said mineralogical data are assumed.
 13. A method according to claim 9 wherein:at least aluminum, iron and potassium concentrations from at least one depth in said borehole are input into said element-mineral transform matrix to provide a determination of the quantities of at least kaolinite, illite and feldspar at said depths in said investigated formation.
 14. A method according to claim 13 wherein:the quartz quantity percentage is determined as being unity minus the sums of the kaolinite, illite and feldspar quantity percentages at each of said depths.
 15. A method according to claim 14 further comprising:(c) determining the quantity of silicon for at least one borehole depth in said formation; and (d) comparing said silicon and quartz quantity determinations to determine the presence or absence of coal for at least one borehole depth.
 16. A method according to claim 13 wherein:said aluminum, ion and potassium concentrations are respectively determined through the logging of an enhanced resolution gamma spectroscopy tool, an induced gamma spectroscopy tool and a natural gamma ray tool.
 17. A method according to claim 7 further comprising:(c) determining the grain densities of at least said quantified dominant minerals; (d) determining the matrix density of the formation for at least one depth in said borehole from steps (b) and (c); (e) independently determining the formation bulk density for at least one depth in said borehole; and (f) deriving a refined formation porosity indication for at least one borehole depth from steps (d) and (e).
 18. A method according to claim 7 further comprising:(c) identifying clay minerals and clay mineral quantities for at least one borehole depth in said formation; (d) determining the cation exchange capacity of said identified clay minerals; and (e) determining the whole rock cation exchange capacity for at least one borehole depth in said formation from steps (c) and (d).
 19. A method according to claim 7 wherein said at least one dominant minerals includes quartz, further comprising:(c) determining the quantity of silicon for at least one borehole depth in said formation; and (d) comparing said silicon and quartz quantity determinations to determine the presence of absence of coal for at least one borehole depth.
 20. A method for investigating, through logging, an earth formation transversed by a borehole comprising:(a) determining, by logging the said borehole, the concentrations of at least one index element for at least one depth of said borehole in said formation; (b) determining, for at least one depth of said borehole, the quantity of at least one dominant mineral in said formation by operating with an element-mineral transform operation on said index elemental concentrations, wherein said dominant minerals are identified by a multivariate statistical analysis on elemental and mineralogical data; and (c) from said determined elemental concentrations and mineral quantities, characterizing at least one of said quantified minerals at at least one borehole depth.
 21. A method according to claim 20 wherein:said elemental-mineral transform operation is an element-mineral transform matrix; and said multivariate statistical analysis is factor analysis.
 22. A method according to claim 21 wherein:said element-mineral transform matrix is constructed using multivariate statistical analysis which relates said dominant minerals to said indexing elements.
 23. A method according to claim 22 wherein:said multivariate statistical analysis used for constructing said element-mineral transform matrix is regression analysis.
 24. A method according to claim 22 wherein:said elemental and mineralogical data are gained at least partly from core samples of said borehole.
 25. A method according to claim 22 wherein:said elemental and mineralogical data are gained from a second borehole.
 26. A method according to claim 22 wherein:at least aluminum, iron and potassium concentrations from at least one depth in said borehole are input into said element-mineral transform matrix to provide a determination of the quantities of at least kaolinite, illite and feldspar at said borehole depths in said investigated formation.
 27. A method according to claim 26 wherein at least said illite is further characterized according to magnesium concentration.
 28. A method according to claim 20 wherein:said dominant minerals are each identified as being related to at least one factor, and said indexing elements are each chosen to correlate well with said factor and said dominant minerals.
 29. A method according to claim 20 further comprising:(d) derermining the depositional environment of said formation from said quantified and characterized mineral determinations for at least one borehole depth in said formation.
 30. A method according to claim 20 further comprising:(d) derermining techniques suitable for the production of oil in said formation from said quantified and characterized minerals.
 31. A method for investigating, through logging, an earth formation traversed by a borehole comprising:(a) identifying the elements and minerals likely to be found in said formation, (b) associating said identified elements and minerals with factors; (c) identifying said factors as at least dominant mineral components; (d) constructing an element-mineral transform matrix between at least said identified dominant mineral factors and index elements; (e) determining, by logging said borehole, the elemental concentrations of said index elements at least one depth of said borehole in said formation; and (f) quantifying at least said dominant minerals for at least one depth of said borehole by inputting said index elemental concentrations into said element-mineral transform matrix.
 32. A method according to claim 31 further comprising:(g) from said determined elemental concentrations and mineral quantities, characterizing one or more of said quantified minerals for one or more depths of said borehole.
 33. A method according to claim 32 further comprising:(h) determining the depositional environment of said formation from said quantified and characterized mineral determinations.
 34. A method according to claim 32 further comprising:(h) determining techniques suitable for the production of oil in said formation from said quantified and characterized minerals.
 35. A method according to claim 25 further comprising:(g) determining the grain densities of at least said quantified dominant minerals; (h) determining the matrix density of the formation for at least one depth in said borehole from steps (f) and (g); (i) independently determining the formation bulk density for at least one depth in said borehole; and (j) deriving a refined formation porosity indication for at least one borehole depths from steps (h) and (i).
 36. A method according to claim 35 wherein:said refined formation porosity indication is derived according to ##EQU8## where ρ_(b) is the bulk density determined at step (h);ρ_(matrix) is the matrix density determined at step (g); and ρ_(fluid) is the fluid density.
 37. A method according to claim 31 further comprising:(g) identifying clay minerals and clay mineral quantities for at least one borehole depth in said formation; (h) determining the cation exchange capacity of said identified clay minerals; and (i) determining the whole rock cation exchange capacity for at least one borehole depth in said formation from steps (g) and (h).
 38. A method according to claim 37 further comprising:(i) deriving the cation exchange capacity per unit pore volume according to the equation ##EQU9## where Q_(v) is the cation exchange capacity per unit pore volume,CEC is the whole rock cation exchange capacity determined at step (h), φ is the porosity of the said formation, and ρ_(matrix) is the matrix density of the formation.
 39. A method according to claim 31 wherein said at least dominant minerals includes quartz further comprising:(g) determining the quantity of silicon for at least one borehole depth in said formation; and (i) comparing said silicon and quartz quantity determinations to determine the presence or absence of coal for at least one borehole depth.
 40. A method according to claim 31 further comprising:(g) determining the quantity of quartz for at least one borehole depth in said formation as unity minus the sum of the formation fractions of said quantified dominant minerals for each of said borehole depths; (h) determining the quantity of silicon for at least one depth in said formation; and (i) comparing said silicon and quartz quantity determinations to determine the presence or absence of coal at at least one borehole depth. 